package com.yida.gwj.expend.outside.service;

import com.yida.gwj.expend.outside.domain.GwjMaintenanceFundsBusinessBuild;

import java.util.List;

/**
 * 业务楼栋Service接口
 *
 * @author lgp
 * @date 2023-02-20
 */
public interface IGwjMaintenanceFundsBusinessBuildService {
    /**
     * 查询业务楼栋
     *
     * @param businessBuildId 业务楼栋主键
     * @return 业务楼栋
     */
    GwjMaintenanceFundsBusinessBuild selectGwjMaintenanceFundsBusinessBuildByBusinessBuildId(Long businessBuildId);

    /**
     * 查询业务楼栋列表
     *
     * @param gwjMaintenanceFundsBusinessBuild 业务楼栋
     * @return 业务楼栋集合
     */
    List<GwjMaintenanceFundsBusinessBuild> selectGwjMaintenanceFundsBusinessBuildList(GwjMaintenanceFundsBusinessBuild gwjMaintenanceFundsBusinessBuild);

    /**
     * 新增业务楼栋
     *
     * @param gwjMaintenanceFundsBusinessBuild 业务楼栋
     * @return 结果
     */
    GwjMaintenanceFundsBusinessBuild insertGwjMaintenanceFundsBusinessBuild(GwjMaintenanceFundsBusinessBuild gwjMaintenanceFundsBusinessBuild);

    /**
     * 修改业务楼栋
     *
     * @param gwjMaintenanceFundsBusinessBuild 业务楼栋
     * @return 结果
     */
    int updateGwjMaintenanceFundsBusinessBuild(GwjMaintenanceFundsBusinessBuild gwjMaintenanceFundsBusinessBuild);

    /**
     * 批量删除业务楼栋
     *
     * @param businessBuildIds 需要删除的业务楼栋主键集合
     * @return 结果
     */
    int deleteGwjMaintenanceFundsBusinessBuildByBusinessBuildIds(Long[] businessBuildIds);

    /**
     * 删除业务楼栋信息
     *
     * @param businessBuildId 业务楼栋主键
     * @return 结果
     */
    int deleteGwjMaintenanceFundsBusinessBuildByBusinessBuildId(Long businessBuildId);

    /**
     * 删除业务业主信息信息-通过业务ID
     *
     * @param bizId 业务标识
     * @return int
     */
    int deleteGwjMaintenanceFundsBusinessBuildByBusinessId(Long bizId);

    /**
     * 查询业务楼栋
     *
     * @param bizId 业务标识
     * @return 业务楼栋
     */
    List<GwjMaintenanceFundsBusinessBuild> selectGwjMaintenanceFundsBusinessBuildByBusinessId(Long bizId);

    /**
     * 批量新增业务楼栋
     *
     * @param gwjMaintenanceFundsBusinessBuilds 业务楼栋集合
     * @return 结果
     */
    int insertBatchGwjMaintenanceFundsBusinessBuild(List<GwjMaintenanceFundsBusinessBuild> gwjMaintenanceFundsBusinessBuilds);

    /**
     * 删除业务楼栋信息
     *
     * @param bizIds 需要删除的数据的业务id
     * @return 结果
     */
    int deleteGwjMaintenanceFundsBusinessBuildByBusinessIds(Long[] bizIds);

}
